def curve_pre():
    #a = 3

    def curve(x):
        return a*x*x
    return curve


a = 100
f = curve_pre()
a = f(2)
print(a)
